package com.musicmall.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Album {
    private Integer id;

    private String name;

    private String artist;

    private Date year;

    private BigDecimal price;

    private Integer status;

    private Integer sales;

    private String language;

    private String genre;

    private String company;

    private String recordType;

    private Date createTime;

    private Date updateTime;

    private String introduction;

    public Album(Integer id, String name, String artist, Date year, BigDecimal price, Integer status, Integer sales, String language, String genre, String company, String recordType, Date createTime, Date updateTime) {
        this.id = id;
        this.name = name;
        this.artist = artist;
        this.year = year;
        this.price = price;
        this.status = status;
        this.sales = sales;
        this.language = language;
        this.genre = genre;
        this.company = company;
        this.recordType = recordType;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Album(Integer id, String name, String artist, Date year, BigDecimal price, Integer status, Integer sales, String language, String genre, String company, String recordType, Date createTime, Date updateTime, String introduction) {
        this.id = id;
        this.name = name;
        this.artist = artist;
        this.year = year;
        this.price = price;
        this.status = status;
        this.sales = sales;
        this.language = language;
        this.genre = genre;
        this.company = company;
        this.recordType = recordType;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.introduction = introduction;
    }

    public Album() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist == null ? null : artist.trim();
    }

    public Date getYear() {
        return year;
    }

    public void setYear(Date year) {
        this.year = year;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre == null ? null : genre.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public String getRecordType() {
        return recordType;
    }

    public void setRecordType(String recordType) {
        this.recordType = recordType == null ? null : recordType.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }
}